/* 更现代的CSS重置方案 */
:where(:root) {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: system-ui, sans-serif;
}

:where(*) {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:where(html) {
    block-size: 100%;
}

:where(body) {
    min-block-size: 100%;
}

/* 使用:where()降低特异性 */
:where(h1, h2, h3, h4, h5, h6) {
    font-size: inherit;
    font-weight: inherit;
}

:where(a) {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: color 0.3s ease;
}